import os

env = Environment(ENV=os.environ)
Tool('mingw')(env)

source_files = Glob('./*.c')

libraries = [
    'm',
    'at'
]

for src in source_files:
    env.Program(
        source=[src],
        LIBS=libraries,
        LIBPATH='../lib/',
        CPPPATH='../include/',
        CCFLAGS='-g -pedantic -Wall'
    )
